﻿using System.Windows;
using System.Windows.Controls;
using System.Collections.ObjectModel;


namespace Demos.Puzzles.Polyominoes
{
    /// <summary>
    /// Interaction logic for Visor.xaml
    /// </summary>
    public partial class Visor : UserControl
    {

        public ObservableCollection<ListaDeCasillas> Tablero
        {
            get { return (ObservableCollection<ListaDeCasillas>)GetValue(TableroProperty); }
            set { SetValue(TableroProperty, value); }
        }

        // Using a DependencyProperty as the backing store for Tablero.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty TableroProperty =
            DependencyProperty.Register("Tablero", typeof(ObservableCollection<ListaDeCasillas>), typeof(Visor), new UIPropertyMetadata(null));


        public Visor()
        {
            InitializeComponent();
        }
    }
}
